package com.smartthinking.CICPNL.home.activity;

import java.util.Dictionary;

import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

import com.smartthinking.CICPNL.R;
import com.smartthinking.CICPNL.R.id;
import com.smartthinking.CICPNL.home.objects.clsDictionary;

public class RestaurantesDetalle extends Activity {

	/** campos del formulario **/

	private TextView tvHotel;
	private TextView tvDireccion;
	private TextView tvTelefono;
	private TextView tvHorario;
	private TextView tvImagen;
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);

		// Checks the orientation of the screen
		 
	}
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ui_hotelesdetalle);

		Dictionary Actividades = clsDictionary.getDctionary();

		tvHotel = (TextView) this.findViewById(id.tv_hoteldetalle_hotelnombre);
		tvHotel.setText(Actividades.get("poi_nombre").toString());
		

		tvDireccion = (TextView) this
				.findViewById(id.tv_hoteldetalle_hoteldireccion);
		tvDireccion.setText(Actividades.get("poi_direccion").toString());

		tvTelefono = (TextView) this.findViewById(id.tv_hoteldetalle_telefono);
		tvTelefono.setText(Actividades.get("poi_telefono").toString());

		tvHorario = (TextView) this.findViewById(id.tv_hoteldetalle_horarios);
		tvHorario.setText(Actividades.get("poi_horarios").toString());
		
	}

}
